import request from '@/utils/request'

// 登录
export function loginApi(data) {
  return request({
    url: '/sys/login',
    method: 'post',
    data
  })
}

// 获取用户信息
export const getUserInfoApi = () => request.get('/sys/profile')

// 修改密码
export const changePasswordApi = (data) => request.put('/sys/user/updatePass',data)
